package com.docwei.thansgank.fragment.fuli;


import com.docwei.thansgank.BasePresenter;
import com.docwei.thansgank.BaseView;
import com.docwei.thansgank.callback.ResultBean;

/**
 * Created by tobo on 17/8/1.
 */

public interface FuliContract {
    interface View extends BaseView{
         void showSwipeRefreshLayout();
         void hideSwipeRefreshLayout();
         void showPullDataSuccess(ResultBean data);
         void showPullDataError(String errMessage);

    }
    abstract class Presenter <T extends View> extends BasePresenter<T> {
        public Presenter(T view) {
            super(view);
        }
        public abstract void pullData();
    }
}
